package com.demonlover.oauth2.resource.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.demonlover.oauth2.resource.mapper.ContentCategoryMapper;
import java.util.List;
import com.demonlover.oauth2.resource.domain.ContentCategory;
import com.demonlover.oauth2.resource.domain.ContentCategoryExample;
import com.demonlover.oauth2.resource.service.ContentCategoryService;
/**
 * @author  WuChao
 * @date  2020/6/3 11:59
 * @version 1.0
 */
@Service
public class ContentCategoryServiceImpl extends ServiceImpl<ContentCategoryMapper, ContentCategory> implements ContentCategoryService{

    @Override
    public long countByExample(ContentCategoryExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(ContentCategoryExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<ContentCategory> selectByExample(ContentCategoryExample example) {
        return baseMapper.selectByExample(example);
    }
    @Override
    public int updateByExampleSelective(ContentCategory record,ContentCategoryExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(ContentCategory record,ContentCategoryExample example) {
        return baseMapper.updateByExample(record,example);
    }
}
